/*body {*/
/*  margin: 0;*/
/*  font-family: Arial, sans-serif;*/
/*  background-color: #f9f9f9;*/
/*  color: #333;*/
/*}*/

/*.container {*/
/*  display: flex;*/
/*  height: 100vh;*/
/*  padding: 20px;*/
/*  gap: 20px;*/
/*}*/

/*.left-panel,*/
/*.right-panel {*/
/*  background: #ffffff;*/
/*  border-radius: 8px;*/
/*  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
/*  padding: 20px;*/
/*}*/

/*.left-panel {*/
/*  flex: 1;*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*}*/

/*.upload-box {*/
/*  padding: 20px;*/
/*  border: 2px dashed #888;*/
/*  text-align: center;*/
/*  border-radius: 8px;*/
/*  cursor: pointer;*/
/*}*/

/*.upload-box:hover {*/
/*  border-color: #555;*/
/*}*/

/*.upload-label {*/
/*  cursor: pointer;*/
/*  font-size: 16px;*/
/*  color: #555;*/
/*}*/

/*.success-box {*/
/*  text-align: center;*/
/*  font-size: 16px;*/
/*  color: #4caf50;*/
/*}*/

/*.right-panel {*/
/*  flex: 2;*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  gap: 20px;*/
/*}*/

/*.keywords,*/
/*.questions {*/
/*  padding: 10px;*/
/*  border-bottom: 1px solid #eee;*/
/*}*/

/*.answer-box {*/
/*  width: 100%;*/
/*  height: 120px;*/
/*  padding: 10px;*/
/*  font-size: 14px;*/
/*  border: 1px solid #ddd;*/
/*  border-radius: 4px;*/
/*  background: #f5f5f5;*/
/*}*/

/*.controls {*/
/*  display: flex;*/
/*  gap: 10px;*/
/*}*/

/*button {*/
/*  flex: 1;*/
/*  padding: 10px 20px;*/
/*  font-size: 14px;*/
/*  background: #007bff;*/
/*  color: #fff;*/
/*  border: none;*/
/*  border-radius: 4px;*/
/*  cursor: pointer;*/
/*}*/

/*button:disabled {*/
/*  background: #ddd;*/
/*  cursor: not-allowed;*/
/*}*/

/*.simulate-btn {*/
/*  background: #28a745;*/
/*}*/

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    display: flex;
    flex-direction: row;
    height: 100vh;
}

.left-panel,
.right-panel {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.left-panel {
    flex: 1;
    text-align: center;
}

.right-panel {
    flex: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.upload-box {
    padding: 20px;
    border: 2px dashed #888;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
}

.upload-box:hover {
    border-color: #555;
}

.upload-label {
    cursor: pointer;
    font-size: 16px;
    color: #555;
}

.success-box {
    text-align: center;
    font-size: 16px;
    color: #4caf50;
}

.simulate-btn {
    background: #28a745;
    padding: 10px 20px;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
}

.simulate-btn:hover {
    background: #218838;
}

.placeholder-text {
    font-size: 18px;
    color: #666;
    text-align: center;
}

.keywords,
.questions {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

textarea.answer-box {
    width: 100%;
    height: 100px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
}

.controls {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

button {
    padding: 10px 20px;
    font-size: 14px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:disabled {
    background: #ddd;
    cursor: not-allowed;
}


.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.page-button {
    padding: 5px 10px;
    font-size: 14px;
    color: #333;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.page-button:hover {
    background: #007bff;
    color: #fff;
}

.page-button.active {
    background: #007bff;
    color: #fff;
    font-weight: bold;
}

.botom-panel {
    display: flow;
    height: 0; /* 仅用于清除浮动 */
}
.botombtn {
    width: 100%; /* 使第三个 div 占满整个宽度 */
    background-color: #007bff;
    color: #fff;
    padding: 20px;
}